package org.example.core.mysql;

import java.util.List;

/**
 * Description: 分页查询返回结果
 * Date: 2024/1/28 20:28
 */
public class SearchPageResult<T> {
    private int page;
    private int limit;
    private int totalCount;
    private List<T> list;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
